home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / converter / gif2png-0.6 / compiling.readme < prev    next >
Encoding:
Text File  |  1996-07-16  |  1.4 KB  |  41 lines

  1. To compile gif2png for your machine do the following:
  2.  
  3. 68000 based system:
  4.    cd src
  5.    make -f makefile.gcc.000 all-lib
  6.  
  7. >= 68020 based system:
  8.    cd src
  9.    make -f makefile.gcc.020 all-lib
  10.  
  11. >= 68040 based system:
  12.    cd src
  13.    make -f makefile.gcc.040 all-lib
  14.  
  15. Each of these leaves you with a file called gif2png in the current directory.
  16. If you want to regenerate all three supplied executables, you should move
  17. the resultant gif2png to somewhere else and clean up between compiles.
  18. Cleaning up requires the following steps (which I should integrate into
  19. the makefiles sometime) assuming your current directory is still gif2png-0.6/src:
  20.    rm *.o gif2png
  21.    cd libpng-0.88
  22.    make -f makefile.gcc.000 clean ; (or .020 or .040)
  23.    cd /zlib-1.0.2
  24.    make -f makefile.gcc.000 clean ; (or .020 or .040)
  25.    cd /
  26.  
  27. If you want to customize the makefile, I recommend making
  28. a copy of makefile.gcc.0x0 and editing that copy.
  29. Note: Makefiles for libpng.a and libz.a should be adjusted accordingly.
  30.       And change lines
  31.           cd $(PNGLIB) ; make -f ...
  32.       and cd $(ZLIB) ; make -f ...
  33.       accordingly.
  34.  
  35. The directories gif2png, libpng-0.88 and zlib-1.0.2 are unmodified
  36. distributions of the original sources as found in
  37. ftp://ftp.uu.net/graphics/png/applications/gif2png0.6.zip
  38. ftp://ftp.uu.net/graphics/png/libpng-0.88.tar.gz
  39. ftp://ftp.uu.net/graphics/png/zlib-1.0.2.tar.gz
  40. I only added the appropriate makefiles.
  41.